package com.qiang.test13;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class Demo04 {
    public static void main(String[] args) throws IOException {
        /*
        io流，输入输出流
        数据在设备之间的传输称为流
        流的本质就是数据传输
         */
        FileOutputStream fs = new FileOutputStream("lianxi\\aa.txt");
        fs.write(100);
        fs.write("\r\n".getBytes());
        fs.write(111);

        fs.close();
    }
}
